// import 'package:gin_app/chats/onlineList.dart';
// import 'package:gin_app/chats/recommend_list.dart';
import 'dart:io';

import 'package:flutter/material.dart';

// class MyBehavior extends StatefulWidget {
//   late EtsxApp etsxApp;
//   final Map<String, String> query;
//   MyBehavior({required this.query});
//
//   @override
//   _MyBehaviorState createState() => _MyBehaviorState();
// }

class MyBehavior extends ScrollBehavior{
  @override
  Widget buildViewportChrome(BuildContext context, Widget child, ScrollableDetails details) {
    if(Platform.isAndroid||Platform.isFuchsia){
      return child;
    }else{
      return super.buildOverscrollIndicator(context,child,details);
    }
  }
}